package com.msmall.community.common.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.msmall.base.model.BaseObject;

@Entity
@Table(name="base_config")
public class Config extends BaseObject{

	private static final long serialVersionUID = -5262316054772007912L;

	@Id
	@Column(name="config_id")
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private Long configId;
	
	@Column(name="config_key")
	private String configKey;
	
	@Column(name="config_value")
	private String configValue;
	
	@Column(name="enabled")
	private Short enabled;
	
	@Column(name="description")
	private String description;
	
	public Long getConfigId() {
		return configId;
	}

	public void setConfigId(Long configId) {
		this.configId = configId;
	}

	public String getConfigKey() {
		return configKey;
	}

	public void setConfigKey(String configKey) {
		this.configKey = configKey;
	}

	public String getConfigValue() {
		return configValue;
	}

	public void setConfigValue(String configValue) {
		this.configValue = configValue;
	}

	public Short getEnabled() {
		return enabled;
	}

	public void setEnabled(Short enabled) {
		this.enabled = enabled;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public boolean equals(Object o) {
		return false;
	}

	public int hashCode() {
		return 0;
	}

	public String toString() {
		return null;
	}

}
